
package com.hjb.service.config.constant;

/**
 * AOP监控controller信息
* @ClassName: Constants
* @Description: TODO(这里用一句话描述这个类的作用)
* @author <a href="mailto:125671254@qq.com">Pan Xinwen</a>
* @date 2017年4月22日 下午5:26:40
 */
public class Constants {
	public static final String YES = "Y";
	public static final String NO = "N";
	/**
	 * 异常信息统一头信息<br>
	 * 非常遗憾的通知您,程序发生了异常
	 */
	public static final String Exception_Head = "OH,MY GOD! SOME ERRORS OCCURED! AS FOLLOWS :";
	/** 客户端语言 */
	public static final String USERLANGUAGE = "userLanguage";
	/** 客户端主题 */
	public static final String WEBTHEME = "webTheme";
	/** 当前用户 */
	public static final String CURRENT_USER = "CURRENT_USER";
	/** 在线用户数量 */
	public static final String ALLUSER_NUMBER = "ALLUSER_NUMBER";
	/** 登录用户数量 */
	public static final String USER_NUMBER = "USER_NUMBER";
	
	
	/** Banner渠道*/
	public static final String BANNER_CHANNEL_APP = "APP";
	public static final String BANNER_CHANNEL_WEB = "WEB";
	
	/** 状态*/
	public static final int COMMON_STATUS_0 = 0;
	public static final int COMMON_STATUS_1 = 1;
	public static final int COMMON_STATUS_2 = 2;
	public static final int COMMON_STATUS_3 = 3;
	
	/** 购买方式      
	 *  1，充值购买
	 *  2，活期转定期
	 *  3，定期转活期
	 *  4,体验金购买
	 *  5,定期转定期
	 **/
	public static final String PAY_TYPE_1 = "1";
	public static final String PAY_TYPE_2 = "2";
	public static final String PAY_TYPE_3 = "3";
	public static final String PAY_TYPE_4 = "4";
	public static final String PAY_TYPE_5 = "5";
	
	/**
	 * 赎回方式：
	 * 99赎回到银行卡，10转到活期，21转投7天，22转投
	 */
	public static final String RETURN_TYPE_99 = "99";
	public static final String RETURN_TYPE_10 = "10";
	public static final String RETURN_TYPE_21 = "21";
	public static final String RETURN_TYPE_22 = "22";
	
	/**
	 * 购买渠道
	 * 1,web;2,IOS;3,安卓；4,H5；5微信公众号
	 * 0:WEB 1:ANDROID 2:WECHAT 3:IOS 4:OMS 5:OTHER
	 */
	public static final int TERMINAL_TYPE_1 = 1;
	public static final int TERMINAL_TYPE_2 = 2;
	public static final int TERMINAL_TYPE_3 = 3;
	public static final int TERMINAL_TYPE_4 = 4;
	public static final int TERMINAL_TYPE_5 = 5;
	
	public static final String TERMINAL_TYPE_WEB = "web";
	public static final String TERMINAL_TYPE_IOS = "ios";
	public static final String TERMINAL_TYPE_ANDROID = "Android";
	public static final String TERMINAL_TYPE_H5 = "h5";
	public static final String TERMINAL_TYPE_WECHAT = "wechat";
	
	/**
	 * 产品类型
	 * 1:活期，2:定期，3:体验标
	 */
	public static final int PRODUCT_TYPE_1 = 1;
	public static final int PRODUCT_TYPE_2 = 2;
	public static final int PRODUCT_TYPE_3 = 3;
	
	/** 资金汇款方式*/
	public static final String COMMON_RETURN_TYPE= "return_type";
	/** 支付方式*/
	public static final String COMMON_PAY_TYPE= "pay_type"; 
	
	/**
	 * 充值状态：0申请中，1充值中，2成功，3失败，4其他
	 */
	public static final int RECHARGE_STATUS_0 = 0;
	public static final int RECHARGE_STATUS_1 = 1;
	public static final int RECHARGE_STATUS_2 = 2;
	public static final int RECHARGE_STATUS_3 = 3;
	public static final int RECHARGE_STATUS_4 = 4;
	
	/**
	 * 账号日志类型
	 * 1银行卡投资，2定期回款至银行卡，3活期赎回，4活期投资，5回款复投，
	 * 6体验金收益,7活期收益,8活期加息券收益,9定期回款收益发放
	 * 10 定期回款
	 */
	public static final int ACCOUNT_LOG_TYPE_1 = 1;
	public static final int ACCOUNT_LOG_TYPE_2 = 2;
	public static final int ACCOUNT_LOG_TYPE_3 = 3;
	public static final int ACCOUNT_LOG_TYPE_4 = 4;
	public static final int ACCOUNT_LOG_TYPE_5 = 5;
	public static final int ACCOUNT_LOG_TYPE_6 = 6;
	public static final int ACCOUNT_LOG_TYPE_7 = 7;
	public static final int ACCOUNT_LOG_TYPE_8 = 8;
	public static final int ACCOUNT_LOG_TYPE_9 = 9;
	public static final int ACCOUNT_LOG_TYPE_10 = 10;
	 
	
	/**
	 * 系统账户
	 */
	public static final int SYS_ACCOUNT_10000 = 10000; //SPV资金总账户
	public static final int SYS_ACCOUNT_10001 = 10001; //调拨账户
	public static final int SYS_ACCOUNT_10002 = 10002; //活期账户
	public static final int SYS_ACCOUNT_10003 = 10003; //定期账户
	public static final int SYS_ACCOUNT_10004 = 10004; //充值提现手续费
	public static final int SYS_ACCOUNT_10005 = 10005; //平台营收账户
	public static final int SYS_ACCOUNT_10006 = 10006; //营销款账户
	
	/**
	 * 活动类型
	 */
	public static final String ACTIVITY_RULE_TYPE_INVEST = "invest_to_experience";   //首投送体验金
	
}
